home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / phase5 / cv3dinstall / install_cv64-3d < prev    next >
Text File  |  1997-02-27  |  47KB  |  961 lines

  1. ;********************************************************************************
  2. ;     ______ __  __ ___    __       __  ____   ____
  3. ;    / __  // / / // __\  / /__    / / /___ \ / __ \
  4. ;   / /  -'/ / / // /_   / // /_  / /   __/ // / / /
  5. ;  / /    / / / // __ \ /__  __/ / /   /_  // / / / CyberVision64/3D
  6. ; / /___ / /_/ // /_/ /   / /   / /  ___/ // /_/ /
  7. ; \____/ \____/ \____/   /_/   /_/  /____//_____/
  8. ;
  9. ; $VER: CV64/3D_Installer 0.99h (Feburary-03-1997) 
  10. ; Installer by Robert C. Reiswig ©1996-1997 
  11. ; CyberVision64/3D Graphics Card by:
  12. ;   Phase 5 Digital Products
  13. ;   In der Au 27
  14. ;   D-61440 Oberursel
  15. ;   Germany
  16. ;
  17. ; If you wish to use any part of this installer you must ask. May not be 
  18. ; integrated/placed into any other package! Changes, suggestions or problems:
  19. ; vgr@best.com
  20. ;********************************************************************************
  21.  
  22. (set #diskname (pathonly @icon))
  23. (set #diskname2 "CV3D-Tools")
  24. (set where "ram:")
  25. (set #CompressCMD "lhex") 
  26. (set #untempdirlib "RAM:CGXV3-Inst")
  27. (set #libsarchivename (tackon #diskname "libs/lib.lha"))
  28. (set #virarchivename "3D-ViRGE/CV3DDemos.lha")
  29.  
  30. (if (> (exists ("c:multiview")) 0) (set #mpath "c:") )
  31. (if (> (exists ("sys:Utilities/multiview")) 0) (set #mpath "sys:Utilities") )
  32. (run (cat "run " (tackon #mpath "multiview ") (tackon #diskname "Phase5.iff")))
  33.  
  34. ;********************************************************************************
  35. ; Set Defaults Strings (English)
  36. ;********************************************************************************
  37. (set #w-message "\n\n\nPhase5 would like to\n\nThank You\n\nfor purchasing the CyberVision 64/3D.")
  38. (set #yes "Yes")
  39. (set #no "No")
  40. (set #askzorro "\nWhat type of machine is the CyberVision64/3D installed in?\n")
  41. (set #askcpu "\nWhat CPU does the machine have that you are installing CyberGraphX V3 on? The installer has found:\n")
  42. (set #inst-prompt "\nPlease select what you wish to do.\n")
  43. (set #first-time "First time Installation")
  44. (set #changemon "Set/Change the Monitorfile's Defaults")
  45.  
  46. (set #removeV2 "Do your have CyberGraphX V2 (43.xxx) installed on this system? If you do it will need to be removed in order for CyberGraphX V3 to work correctly.")
  47. (set #remove1 " Backup & Uninstall CyberGraphX V2")
  48. (set #remove2 " Delete V2 Monitor File Only")
  49. (set #remove3 " Skip, do later")
  50. (set #deletemon "Select the CyberGraphX V2 Monitor file you wish to delete along with its .info file.")
  51.  
  52. (set #uncompressingbinlibs (cat "\n\nUncompressing the CyberGraphX V3 libraries to the temp dir " #untempdirlib))
  53. (set #errorlibs (cat "\n\nThe archive " #libsarchivenamelibs " is missing or has an error in it. You might try to reinstall.  If that does not work you will need to get a new CyberVision64/3D install disk.\n\nThe needed CyberGraphX V3 Libraries were not installed."))
  54.  
  55. (set #todo-prompt "\nWhat do you wish to install?\n")
  56. (set #cgxmode-todo " CGXMode - Create & Change Screen Modes")
  57. (set #drivers-todo " Drivers - For 3rd Party Programs")
  58. (set #osiris-todo " Osiris  - MPEG Player")
  59. (set #cgl-todo " CyberGL  - 3DDemo")
  60. (set #destchoice "Please select where you wish to put the CyberVision64/3D Programs. A directory called 'CV64-3D' will be created there.")
  61. (set #wheremode "Where do you wish to put the CGXMode Program?")
  62. (set #other " Other")
  63. (set #wherelibs "Where do you wish to install the CyberGraphX V3 libraries? The default is 'SYS:Libs'")
  64.  
  65. (set #ask-MODEFILE "Which modefile should be installed? The khz number should not exceed your monitors max khz!")
  66. (set #15KHZ "15khz maximum") (set #31KHZ "31khz maximum")
  67. (set #35KHZ "35khz maximum") (set #38KHZ "38khz maximum")
  68. (set #48KHZ "48khz maximum") (set #57KHZ "57khz maximum")
  69. (set #64KHZ "64khz maximum") (set #80KHZ "80khz maximum")
  70.  
  71. (set #ask-driver "\nSelect The Driver(s) you wish to install.\n")
  72.  
  73. (set #saver "Saver")
  74. (set #window "Window")
  75.  
  76. (set #YES-AMAX "Yes - Install AMAX Driver")
  77. (set #NO-AMAX "No  - Don't Install AMAX Driver")
  78. (set #ask-AMAX "Do you wish to install the CyberGraphX AMax driver?")
  79. (set #where-AMAX "Where do you wish to Install the AMax Driver?\n(The default is \"Work:\")")
  80.  
  81. (set #YES-ADPROw "Yes - Install ADPro Window")
  82. (set #NO-ADPROw "No  - Don't Install ADPro Window")
  83. (set #ask-ADPROw "Do you wish to install the CyberGraphX ADPro Window Driver?")
  84. (set #where-ADPROw "Where do you wish to Install the ADPro Window Diver?\n(The default is \"ADPRO:display2\")")
  85. (set #updatedadprow "\n\n\n\ADPro's Window driver (ADPRO:displays2/window) has been updated to support CyberGraphX.")
  86.  
  87. (set #YES-ADPRO "Yes - Install ADPro Saver")
  88. (set #NO-ADPRO "No  - Don't Install ADPro Saver")
  89. (set #ask-ADPRO "Do you wish to install the CyberGraphX ADPro saver?")
  90. (set #where-ADPRO "Where do you wish to Install the ADPro Saver?\n(The default is \"ADPRO:Savers2\")")
  91. (set #YES-MC4D "Yes - Install MaxonCinema4D display module")
  92. (set #NO-MC4D "No  - Don't Install MaxonCinema4D display module")
  93. (set #ask-MC4D "Do you wish to install the MaxonCinema4D display module?")
  94. (set #where-MC4D "Where do you wish to Install the MaxonCinema4D display module?\n(The default is \"libs:\")")
  95. (set #YES-PHOTOW "Yes - Install PhotoworX display module")
  96. (set #NO-PHOTOW "No  - Don't Install PhotoworX display module")
  97. (set #ask-PHOTOW "Do you wish to install the PhotoworX display module?")
  98. (set #where-PHOTOW "Where do you wish to Install the PhotoworX display module?\n(The default is \"work:\")")
  99. (set #YES-PHOTOG "Yes - Install Photogenics saver module")
  100. (set #NO-PHOTOG "No  - Don't Install Photogenics saver module")
  101. (set #ask-PHOTOG "Do you wish to install the Photogenics saver module?")
  102. (set #where-PHOTOG "Where do you wish to Install the Photogenics saver module?\n(The default is \"work:\")")
  103. (set #YES-REAL "Yes - Install Real3D display module")
  104. (set #NO-REAL "No  - Don't Install Real3D display module")
  105. (set #ask-REAL "Do you wish to install the Real3D display module?")
  106. (set #where-REAL "Where do you wish to Install the Real3D display module?\n(The default is \"libs:\")")
  107. (set #YES-IFX "Yes - Install ImageFX Render module")
  108. (set #NO-IFX "No  - Don't Install ImageFX Render module")
  109. (set #ask-IFX "Do you wish to install the ImageFX Render module?")
  110. (set #where-IFX "Where do you wish to Install the ImageFX Render module?\n(The default is \"ImageFX:Modules/Render\")")
  111.  
  112. (set #reboot "\nThe installation of CyberVision64/3D is now complete.\n\nTo use the CyberVision64/3D screen modes, you must reboot your Amiga. After rebooting, you must run the \"SYS:Prefs/ScreenMode\" preferences editor and pick the ScreenMode you wish to use.\n\nRemove the \"CyberVision64/3D\" disk from the floppy drive, and select the \"Reboot\" gadget to reboot your Amiga.")
  113. (set #reboot-def "\nThe installation of the default monitorfile is now complete.\n\nTo use the monitorfile, you must reboot your Amiga. After rebooting, you must run the \"SYS:Prefs/ScreenMode\" preferences editor and pick the ScreenMode you wish to use.\n\n Remove the \"CyberVision64/3D\" disk from the floppy drive, and select the \"Reboot\" gadget to reboot your Amiga.")
  114. (set #reboot-prompt "\n\n\n\n\nDo you wish to reboot?")
  115. (set #YES-REBOOT "Yes - Reboot")
  116. (set #NO-REBOOT "No  - Don't Reboot")
  117.  
  118. (set #currset "\nShould this option be enabled ?")
  119. (set #cpup2c (cat "CPUP2C\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  120.                   "By setting this variable, the planar-to-chunky conversion "
  121.                   "will be done by the CPU (in contrast to the blitter conversion) "
  122.                   "Therefore the ugly looking "planar" blitting effects are gone, "
  123.                   "but the software conversion is slower. Do you wish to Enable this feature?"
  124.              )
  125. )
  126. (set #hirescrsr (cat "HIRESCRSR\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  127.                      "By setting this variable, the Lores-Sprites on non-AA-machines "
  128.                      "become Hires-sprites (they are no longer doubled by "
  129.                      "the CyberGraphX-Software). "
  130.                      "This variable is identical to the tooltype HIRESSPRITE "
  131.                      "of older Picasso-monitor files."
  132.                 )
  133. )
  134. (set #hide15bit (cat "HIDE15BIT\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  135.                      "By setting this variable, you can switch off 15bit modes to reduce "
  136.                      "screenmode list length. The Modes are still available but hidden."
  137.                 )
  138. )
  139. (set #alertemu  (cat "ALERTEMU\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  140.                      "By setting this variable, DisplayAlert(), (The Screens you get when the machine crashes.) "
  141.                      "will be placed on an CyberGraphX screens."
  142.                 )
  143. )
  144. (set #planes2  (cat "PLANES2FAST\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  145.                      "With this option on, non displayable planar bitmaps "
  146.                      "are allocated in fast memory. This options speeds up "
  147.                      "handling of planar bitmaps but could lead to problem s"
  148.                      "with amiga graphics which insist on planar graphics "
  149.                      "placed in chip memory. Take care when using this option."
  150.                 )
  151. )
  152. (set #nopass   (cat "NOPASSTHROUGH\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  153.                     "If this option is enabled, the monitor switch on every "
  154.                     "CyberGraphX supported board is deactivated. This option is "
  155.                     "required for multi monitor systems."
  156.                 )
  157. )
  158. (set #keepamiga (cat "KEEPAMIGAVIDEO\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  159.                      "If this option is disabled, everytime a CyberGraphX display "
  160.                      "becomes frontscreen, Amiga display DMA is switched off in order "
  161.                      "to increase chipmem access speed. You can avoid this by enabling "
  162.                      "this option. "
  163.                 )
  164. )
  165. (set #bootlogo  (cat "BOOTLOGO\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  166.                      "If this option is disabled (set to 'No - Off'), the CyberGraphX Bootlogo "
  167.                      "will not be shown at boot time."
  168.                 )
  169. )
  170. (set #savemem   (cat "SAVEMEM\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  171.                      "If this option is on, CyberGraphX will reduce memory consumption in less or equal 16 colour "
  172.                      "modes, CyberGraphX keeps a planar representation of the screen "
  173.                      "bitmap in fastmem and a chunky representation in video memory."
  174.                 )
  175. )
  176.  
  177. (set #byebye (cat "\nCyberGraphX V3 for CyberVision64/3D Install Complete!\n\n" ))
  178.  
  179.  
  180. ;**** New Strings for February 03, 1997 ****
  181. (set #virgedemo-todo " 3D Demo - ViRGE Demo")
  182. (set #cv-todo " CyberView - Picture Viewer")
  183. (set #cw-todo " CyberWindow - Picture Viewer (in window)")
  184. (set #askfordisk2 (cat "\n\nPlease insert disk 2 labeled:\n\n" #diskname2 )) 
  185. (set #whatosiris "What version of Osiris would you like to install?")
  186. (set #uncompressingbinvir (cat "\n\nUncompressing the CyberGraphX V3 3D-ViRGE Demos to the temp dir " #untempdirlib))
  187. (set #errorvir (cat "\n\nThe archive " #virarchivename " is missing or has an error in it. You might try to reinstall.  If that does not work you will need to get a new CyberVision64/3D install disk.\n\nThe 3d-ViRGE Demos were not installed."))
  188. (set #jpegDTnote "\n\nBoth CyberView and CyberWindow use the 'Tower JPEG Codec Class' for JPEG support. If you wish to view JPEGs with these Viewers you will need to have a JPEG Datatype installed.\n\nYou can Install these Datatypes by running the install in the 'jpeg_cdc' drawer on the 2nd disk after the CV3D install is over.")
  189.  
  190. ;**** New Strings for February 24, 1997 ****
  191. (set #askfordisk (cat "\n\nPlease insert disk 1 labeled:\n\n" #diskname )) 
  192.  
  193.  
  194. ;*********************************************************************************
  195. ; German Strings
  196. ;*********************************************************************************
  197. (if (= @language "deutsch")
  198. (
  199.  (set #w-message "\n\n\nPhase5 dankt Ihnen für den Kauf der Cybervision 64/3D.\n\n\n")
  200.  (set #yes "Ja")
  201.  (set #no "Nein")
  202.  
  203. (set #askzorro "\nIn welchen AMIGA ist die Cybervision 64/3D installiert?\n")
  204. (set #askcpu "\nWelche CPU hat Ihr AMIGA wo Sie CyberGraphX V3 installieren wollen ? Das Installationsskript hat folgende CPU Typen gefunden:\n")
  205. (set #inst-prompt "\nBitte wählen Sie :\n")
  206. (set #first-time "Erstmalige Installation")
  207. (set #changemon "Setzen/Ändern der Monitorfile's Einstellungen")
  208.  
  209. (set #removeV2 "Haben Sie CyberGraphX V2 (43.xxx) installiert auf diesem System? Wenn JA, deinstallieren Sie CyberGraphX V2 damit CyberGraphX V3 richtig funktioniert.")
  210. (set #remove1 " Backup & Deinstalliere CyberGraphX V2")
  211. (set #remove2 " Lösche nur V2 Monitor File")
  212. (set #remove3 " Mach ich später.")
  213. (set #deletemon "Wählen Sie das CyberGraphX V2 Monitor file das gelöscht werden soll.")
  214.  
  215. (set #uncompressingbin (cat "\n\nDekomprimiere die CyberGraphX V3 libraries in den Temporären Zwischenspeicher " #untempdirlib))
  216. (set #errorlibs (cat "\n\nDas archive " #libsarchivename " fehlt oder ist kaputt. Sie sollten probieren alles nochmals zu ReInstallieren.  Wenn dieses wieder fehlschlagen sollte, besorgen Sie sich eine neue Diskette von Phase5 oder Ihrem Händler.\n\nCyberGraphX V3 Libraries wurden nicht installiert."))
  217.  
  218. (set #todo-prompt "\nWas möchten Sie installieren ?\n")
  219. (set #cgxmode-todo " CGXMode - Kreire & Ändere Screen Modis")
  220. (set #drivers-todo " Treiber - Für 3. Anbieter Programme")
  221. (set #osiris-todo " Osiris  - MPEG Abspieler")
  222. (set #cgl-todo " CyberGL  - 3DDemo")
  223.  
  224. (set #destchoice "In welches Verzeichnis möchten Sie die CyberVision64/3D Programme installieren ? Ein Verzeichnis 'CV64-3D' wird dort erstellt.")
  225. (set #wheremode "Wo möchten Sie das CGXMode Programm installieren ?")
  226. (set #other " Andere")
  227. (set #wherelibs "Wo möchten Sie dir CyberGraphX V3 libraries installieren? Standard ist 'SYS:Libs'")
  228.  
  229.  (set #reboot "Die Installation der CyberVision64/3D Software ist nun abgeschlossen.\n\nUm Ihre CyberVision64/3D zu aktivieren, müssen Sie Ihren Amiga neu starten. Nehmen Sie die Diskette \"CyberVision64/3D\" aus dem Diskettenlaufwerk und klicken Sie dann auf \"Weiter\", um Ihren Amiga neu zu starten.\n\nDanach müssen Sie ggf. den Voreinsteller-ScreenMode \"ScreenMode\" aus der Schublade \"Prefs\" aufrufen und dort Ihre gewünschte Auflösung auswählen.")
  230.  (set #reboot-def "Ihre Monitoreinstellungen sind wieder auf Defaultwerte gesetzt.\n\nUm diese werte zu aktivieren, müssen Sie Ihren Amiga neu starten. Nehmen Sie die Diskette \"CyberVision64/3D\" aus dem Diskettenlaufwerk und klicken Sie dann auf \"Weiter\", um Ihren Amiga neu zu starten.\n\nDanach müssen Sie ggf. den Voreinsteller-ScreenMode \"ScreenMode\" aus der Schublade \"Prefs\" aufrufen und dort Ihre gewünschte Auflösung auswählen.")
  231.  (set #ask-driver "\nWählen Sie die Treiber, die Sie installieren wollen.\n")
  232.  (set #YES-ADPRO "Ja   - ADPro Saver Modul installieren")
  233.  (set #NO-ADPRO "Nein - ADPro Saver Modul nicht installieren")
  234.  (set #ask-ADPRO "Möchten Sie das CyberGraphX ADPro Saver Modul installieren?")
  235.  (set #where-ADPRO "Wo möchten Sie das ADPro Saver Modul installieren?\n(Der Standardpfad ist \"ADPRO:Savers2\")")
  236.  (set #YES-MC4D "Ja   - MaxonCinema4D Display Modul installieren")
  237.  (set #NO-MC4D "Nein - MaxonCinema4D Display Modul nicht installieren")
  238.  (set #ask-MC4D "Möchten Sie das MaxonCinema4D Display Modul installieren?")
  239.  (set #where-MC4D "Wo möchten Sie das MaxonCinema4D Display Modul installieren?\n(Der Standardpfad ist \"libs:\")")
  240.  (set #YES-PHOTOW "Ja   - PhotoworX Display Modul installieren")
  241.  (set #NO-PHOTOW "Nein - PhotoworX Display Modul nicht installieren")
  242.  (set #ask-PHOTOW "Möchten Sie das PhotoworX Display Modul installieren?")
  243.  (set #where-PHOTOW "Wo möchten Sie das PhotoworX Display Modul installieren?\n(Der Standardpfad ist \"work:\")")
  244.  (set #YES-PHOTOG "Ja   - Photogenics Saver Modul installieren")
  245.  (set #NO-PHOTOG "Nein - Photogenics Saver Modul nicht installieren")
  246.  (set #ask-PHOTOG "Möchten Sie das Photogenics Saver Modul installieren?")
  247.  (set #where-PHOTOG "Wo möchten Sie das Photogenics Saver Modul installieren?\n(Der Standardpfad ist \"work:\")")
  248.  (set #YES-REAL "Ja   - Real3D Display Modul installieren")
  249.  (set #NO-REAL "Nein - Real3D Display Modul nicht installieren")
  250.  (set #ask-REAL "Möchten Sie das Real3D Display Modul installieren?")
  251.  (set #where-REAL "Wo möchten Sie das Real3D Display Modul installieren?\n(Der Standardpfad ist \"libs:\")")
  252.  (set #YES-IFX "Ja   - ImageFX Render Modul installieren")
  253.  (set #NO-IFX "Nein - ImageFX Render Modul nicht installieren")
  254.  (set #ask-IFX "Möchten Sie das ImageFX Render Modul installieren?")
  255.  (set #where-IFX "Wo möchten Sie das ImageFX Render Modul installieren?\n(Der Standardpfad ist \"ImageFX:Modules/Render\")")
  256.  (set #ask-MODEFILE "Welcher Monitormodus soll verwendet werden ?")
  257.  (set #YES-REBOOT "Ja   - Neustart")
  258.  (set #NO-REBOOT "Nein - kein Neustart")
  259.  (set #reboot-prompt "\n\n\n\n\nSoll der Neustart jetzt ausgeführt werden?")
  260.  (set #inst-prompt "\nWählen Sie die gewünschte Aktion aus.\n")
  261.  (set #first-time "Erstmalige Installation")
  262.  (set #changemon "Auswahl der Monitordefinition")
  263.  (set #cvmode-todo " CGXMode  - Definition und Änderung von Screenmodes")
  264.  (set #viewers-todo " Viewers - Bildanzeigeprogramme")
  265.  (set #drivers-todo " Treiber - Support für Programme von Drittanbietern")
  266.  (set #todo-prompt "\nWelche Komponenten möchten Sie installieren?\n")
  267.  (set #destchoice "Wo sollen die Cybervision Programme installiert werden? Ein Verzeichnis mit dem Namen \"CV64-3D\" wird erzeugt, wenn es noch nicht existiert.")
  268.  (set #currset "\nSoll diese Option aktiv sein ?")
  269.  (set #cpup2c (cat "CPUP2C\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  270.                    "Wenn Sie diese Variable setzen, wird die Planar-nach-Chunky Konvertierung "
  271.                    "von der CPU erledigt (im Gegensatz zur Blitter-Konvertierung) "
  272.                    "Damit sind die teilweise merkwürdig aussehenden "planar" Bliteffekte verschwunden, "
  273.                    "aber die CPU-Konvertierung ist langsamer. Wollen Sie diese Möglichkeit aktivieren ?"
  274.               )
  275.  )
  276.  (set #hirescrsr (cat "HIRESCRSR\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  277.                       "Wenn diese Variable aktiviert ist, werden Lores-Sprites auf nicht-AGA-Geräten "
  278.                       "zu Hires-sprites (Sie werden nicht mehr von der CyberGraphX Software "
  279.                       "verdoppelt). "
  280.                       "(Diese Variable ist identisch mit dem Tooltype HIRESSPRITE "
  281.                       "in der alten Picasso software)."
  282.                  )
  283.  )
  284.  (set #hide15bit (cat "HIDE15BIT\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  285.                       "Wenn diese Variable aktiviert ist, werden die 15Bit Modi deaktiviert, um "
  286.                       "die Screenmodeliste zu verkuerzen. Die Modes sind immer noch da, aber nicht sichtbar."
  287.                  )
  288.  )
  289.  (set #alertemu  (cat "ALERTEMU\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  290.                       "Ist diese Variable aktiviert, wird DisplayAlert(), (Die Routine, die eine Guru-Box erzeugt.) "
  291.                       "auf einen CyberGraphX Bildschirm umgeleitet."
  292.                  )
  293.  )
  294.  (set #nochip    (cat "NOCHIPSCREEN\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  295.                       "Wird diese Option aktiviert, werden CyberGraphX 256-Farben Bildschirme "
  296.                       "immer direkt im FastRAM geöffnet. Das ist sinnvoll bei Rechnern mit 1MB "
  297.                       "ChipRAM, sollte aber mit 2MB ChipRAM Systemen vermieden werden, da die "
  298.                       "alte Methode in einigen Punkten kompatibler ist."
  299.                  )
  300.  )
  301.  (set #EnvAbort (cat "\n\nEnvSettings konnte keine der Einstellungen finden."
  302.                      "\n\nSind Sie ein registrierter User?  Insofern Sie es sind, müssen "
  303.                      "Sie \"CyberGfx_Install\" aufrufen um die Variablen richtig zu setzen."
  304.                 )
  305.  )
  306.  (set #planes2  (cat "PLANES2FAST\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  307.                       "Ist diese Option aktiv, werden nicht darzustellende "
  308.                       "planare BitMaps im FastRAM angelegt. Diese Option "
  309.                       "beschleunigt die Bearbeitung von planaren BitMaps aber "
  310.                       "kann zu Problemen mit Amiga Originalgrafik führen, wenn "
  311.                       "diese davon ausgeht, dass planare BitMaps im ChipRAM liegen. "
  312.                       "Seien Sie vorsichtig mit der Aktivierung dieser Option."
  313.                  )
  314.  )
  315.  (set #nopass   (cat "NOPASSTHROUGH\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  316.                      "Wenn diese Option aktiviert ist, wird der Monitorumschalter "
  317.                      "auf jeder von CyberGraphX unterstützten Karte deaktiviert. "
  318.                      "Diese Option ist für Mehr-Monitor Systeme erforderlich. "
  319.                  )
  320.  )
  321.  (set #keepamiga (cat "KEEPAMIGAVIDEO\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  322.                       "Ist diese Option nicht aktiv, wird jedesmal, wenn "
  323.                       "ein CyberGraphX Bildschirm nach vorne kommt, die Amiga Bildschirm "
  324.                       "DMA abgeschaltet, um den Zugriff auf das ChipMemory zu beschleunigen. "
  325.                       "Dies kann durch Aktivierung der Option vermieden werden. "
  326.                  )
  327.  )
  328.  (set #bootlogo  (cat "BOOTLOGO\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  329.                       "Ist diese Option inaktiv (auf 'Nein' gesetzt), wird das CyberGraphX Startlogo "
  330.                       "nicht angezeigt während eines Neustarts des Rechners."
  331.                  )
  332.  )
  333.  
  334.  (set #savemem   (cat "SAVEMEM\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
  335.                       "Wenn diese Option aktiv ist, verbraucht CyberGraphX weniger Speicher in kleiner oder gleich "
  336.                       "16 Farben, weil im Fast RAM Speicher ein planares Abbild des Videospeichers gehalten wird "
  337.                   "und im Videospeicher ein Chunky Abbild. Die Option NOCHIPSCREEN muß ebenfalls aktiv sein."
  338.                  )
  339.  )
  340.  
  341. ;**** New Strings for February 03, 1997 ****
  342. (set #virgedemo-todo " 3D Demo - ViRGE Demo")
  343. (set #cv-todo " CyberView - Bildanzeiger")
  344. (set #cw-todo " CyberWindow - Bildanzeiger (Fensterversion)")
  345. (set #askfordisk2 (cat "\n\nLegen Sie die Diskette mit dem Namen:\n\n" #diskname2 "\n\nein" )) 
  346. (set #whatosiris "Welche Version von Osiris möchten Sie installieren?")
  347. (set #uncompressingbinvir (cat "\n\nEntpacken der CyberGraphX V3 3D-ViRGE Demos zum temporären Verzeichnis " #untempdirlib))
  348. (set #errorvir (cat "\n\nDas Archiv " #virarchivename " fehlt oder ist fehlerhaft. Versuchen Sie eine Neuinstallation. Sollte dies mislingen, benötigen Sie eine neue CyberVision64/3D Install Disk.\n\nDie 3d-ViRGE Demos wurden nicht installiert."))
  349. (set #jpegDTnote "\n\nCyberView und CyberWindow benutzen die 'Tower JPEG Codec Class'. Wenn Sie JPEGs mit diesen Programmen betrachten wollen, muß der JPEG Datatype installiert sein.\n\nSie können diesen Datatype installieren, indem Sie Install im 'jpeg_cdc' Verzeichnis der zweiten Diskette aufrufen nachdem Sie die CV3D Installationabgeschlossen haben.")
  350.  
  351. )
  352. )
  353.  
  354. ;*********************************************************************************
  355. ; Welcome Message
  356. ;*********************************************************************************
  357. (if (= (exists ("libs:cgxsystem.library")) 0) 
  358.  ( (message #w-message) (set finstall 0) )
  359.  (set finstall 1)
  360. )
  361.  
  362. (welcome)
  363.  
  364. ;*********************************************************************************
  365. ; Ask install Option
  366. ;*********************************************************************************
  367. (set INST (askchoice  (prompt #inst-prompt)
  368.             (help (cat #inst-prompt "\n" @install-help))
  369.             (choices #first-time #changemon)
  370.             (default finstall) 
  371.           )
  372. )
  373.  
  374.  
  375. ;********************************************************************
  376. ; Check on Zorro slot
  377. ;********************************************************************
  378. (set error (run "tools/ChkCV3DZorro"))
  379. (if (> error 0) (set guessZ 1) (set guessZ 0) )
  380.  
  381. (set pickZ (askchoice (choices "zorro2 - Amiga 2000/zorro2 Expansion Box" "zorro3 - Amiga 3000(T)/4000(T)")
  382.               (prompt #askzorro)
  383.                   (help   #askzorro)
  384.                       (default guessZ)
  385.           )
  386. )
  387.  
  388. ;********************************************************************
  389. ; Double Check on the CPU
  390. ;********************************************************************
  391. (set cpu (database "cpu"))
  392. (if (= cpu 68000) (set #cpu 0)) (if (= cpu 68010) (set #cpu 0))
  393. (if (= cpu 68020) (set #cpu 0)) (if (= cpu 68030) (set #cpu 0))
  394. (if (= cpu 68040) (set #cpu 1)) (if (= cpu 68006) (set #cpu 1)) 
  395. (if (= @installer-version 0)
  396.   (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu 1) )
  397.   (if (= cpu 68006) (set #cpu 1))
  398. )
  399.  
  400.  
  401. (set cpuPick (askchoice (choices "68020 or 68030" "68040 or 68060")
  402.             (prompt #askcpu)
  403.                     (help   #askcpu)
  404.                   (default #cpu)
  405.       )
  406. )
  407.  
  408. ;*********************************************************************************
  409. ; Ask where & Copy libs,  Monitor File                                                           
  410. ;*********************************************************************************
  411. (set wherelibs   (askdir (prompt #wherelibs)
  412.              (help   #wherelibs)
  413.                   (default "SYS:libs")
  414.          )
  415. )
  416.  
  417. (if (= cpuPick 0) (set cpuadd ".020")) (if (= cpuPick 1) (set cpuadd ".040"))
  418.  
  419. (working #uncompressingbinlibs)
  420. (if (< (exists #untempdirlib) 2) (makedir #untempdirlib) )
  421. (set undolibs ("%s \"-qfw=%s\" x \"%s\"" #CompressCMD #untempdirlib #libsarchivename)) 
  422.  
  423. (set error (run undolibs))
  424. (if (= error 0) 
  425.   (
  426.     (if (exists (tackon #untempdirlib (cat "cgxsystem.library" cpuadd)) )
  427.       (copylib (source (tackon #untempdirlib (cat "cgxsystem.library" cpuadd))) (dest wherelibs) (newname "cgxsystem.library") (optional "nofail") ) 
  428.     )
  429.     (if (exists (tackon #untempdirlib (cat "cgxvideo.library" cpuadd)) )
  430.       (copylib (source (tackon #untempdirlib (cat "cgxvideo.library" cpuadd))) (dest wherelibs) (newname "cgxvideo.library") (optional "nofail") ) 
  431.     )
  432.     (if (exists (tackon #untempdirlib "gtlayout.library") )
  433.       (copylib (source (tackon #untempdirlib "gtlayout.library")) (dest wherelibs) (optional "nofail") ) 
  434.     )
  435.   
  436.     (foreach #untempdirlib "#?" 
  437.       (delete (tackon #untempdirlib @each-name)) 
  438.     )    
  439.     (delete #untempdirlib)      
  440.   )
  441.   (message #errorlibs)  
  442. )
  443.  
  444.  
  445. (if (= pickZ 0) (set zadd ".Z2")) (if (= pickZ 1) (set zadd ".Z3"))
  446. (copyfiles (source (tackon #diskname (cat "devs/monitors/CVision3D" zadd))) (dest "devs:monitors") (newname "CVision3D") (infos))
  447.  
  448. ;*********************************************************************************
  449. ; Change/Setup Monitor File Setup
  450. ;*********************************************************************************
  451. (set modefile (askchoice
  452.                (choices "None/Skip" #31KHZ #35KHZ #38KHZ #48KHZ #57KHZ #64KHZ #80KHZ)
  453.                (prompt #ask-MODEFILE)
  454.                (help   #ask-MODEFILE)
  455.                (default 0)
  456.               )
  457. )
  458.  
  459. (if (> modefile 0)
  460.  (
  461.   (if (< (exists "env:CyberGraphX") 2) (makedir "env:CyberGraphX") )    
  462.   (if (< (exists "envarc:CyberGraphX") 2) (makedir "envarc:CyberGraphX") )    
  463.  
  464.   (if (= modefile 1) (set mode "Monitor-31khz")) (if (= modefile 2) (set mode "Monitor-35khz")) 
  465.   (if (= modefile 3) (set mode "Monitor-38khz")) (if (= modefile 4) (set mode "Monitor-48khz")) 
  466.   (if (= modefile 5) (set mode "Monitor-57khz")) (if (= modefile 6) (set mode "Monitor-64khz")) 
  467.   (if (= modefile 7) (set mode "Monitor-80khz")) 
  468.   (run (cat "setenv CyberGraphX/CVision3DMonitor " mode))
  469.   (copyfiles (source "env:CyberGraphX/CVision3DMonitor")  (dest "envarc:CyberGraphX") )
  470.  
  471.  
  472.   (if (< (exists "sys:prefs") 2) (makedir "sys:prefs") )  
  473.   (if (< (exists "sys:prefs/presets") 2) (makedir "sys:prefs/presets") )  
  474.   (if (< (exists "sys:prefs/presets/monitors") 2) (makedir "sys:prefs/presets/monitors") )    
  475.   (copyfiles (source (tackon #diskname (cat "prefs/presets/monitors/" mode)))  (dest "sys:prefs/presets/monitors")) 
  476.  
  477.  )
  478. )
  479.  
  480. ;******************************************************************************** 
  481. ; Check and Set Env Vars
  482. ;********************************************************************************
  483. (set hires 0)    (set cpup2c 0)    (set hide15bit 0) (set alertemu 0)
  484. (set nopass 0)   (set keepamiga 0) (set planes2 0)
  485. (set bootlogo 0) (set savemem 0)
  486.  
  487. ;***** Check Env Stuff
  488. (if (> (exists ("env:CyberGraphX/HIRESCRSR")) 0)  (if (= 1 (getenv "CyberGraphX/HIRESCRSR")) (set hires 1) ) )
  489. (if (> (exists ("env:CyberGraphX/CPUP2C")) 0)     (if (= 1 (getenv "CyberGraphX/CPUP2C")) (set cpup2c 1) ) )
  490. (if (> (exists ("env:CyberGraphX/HIDE15BIT")) 0)  (if (= 1 (getenv "CyberGraphX/HIDE15BIT")) (set hide15bit 1) ) )
  491. (if (> (exists ("env:CyberGraphX/ALERTEMU")) 0)   (if (= 1 (getenv "CyberGraphX/ALERTEMU")) (set alertemu 1) ) )
  492. (if (> (exists ("env:CyberGraphX/NOPASSTHROUGH")) 0) (if (= 1 (getenv "CyberGraphX/NOPASSTHROUGH")) (set nopass 1) ) )
  493. (if (> (exists ("env:CyberGraphX/KEEPAMIGAVIDEO")) 0) (if (= 1 (getenv "CyberGraphX/KEEPAMIGAVIDEO")) (set keepamiga 1) ) )
  494. (if (> (exists ("env:CyberGraphX/PLANES2FAST")) 0) (if (= 1 (getenv "CyberGraphX/PLANES2FAST")) (set planes2 1) ) )
  495. (if (> (exists ("env:CyberGraphX/BOOTLOGO")) 0) (if (= 1 (getenv "CyberGraphX/BOOTLOGO")) (set bootlogo 1) ) )
  496. (if (> (exists ("env:CyberGraphX/SAVEMEM")) 0)  (if (= 1 (getenv "CyberGraphX/SAVEMEM")) (set savemem 1) ) )
  497.  
  498. ;***** Ask what to set
  499. (set cpup2c   (askchoice    (choices #no #yes)
  500.                            (prompt (cat #cpup2c " " #currset))
  501.                            (help   (cat #cpup2c " " #currset))
  502.                          (default cpup2c)
  503.           )
  504. )
  505.  
  506. (set HIRESCRSR (askchoice    (choices #no #yes)
  507.                            (prompt (cat #hirescrsr " " #currset))
  508.                            (help   (cat #hirescrsr " " #currset))
  509.                          (default hires)
  510.            )
  511. )
  512.  
  513. (set HIDE15BIT (askchoice    (choices #no #yes)
  514.                            (prompt (cat #hide15bit " " #currset))
  515.                            (help   (cat #hide15bit " " #currset))
  516.                          (default hide15bit)
  517.            )
  518. )
  519.  
  520. (set ALERTEMU  (askchoice    (choices #no #yes)
  521.                            (prompt (cat #alertemu " " #currset))
  522.                            (help   (cat #alertemu " " #currset))
  523.                          (default alertemu)
  524.            )
  525. )
  526.  
  527. (set PLANES2FAST (askchoice    (choices #no #yes)
  528.                            (prompt (cat #planes2 " " #currset))
  529.                            (help   (cat #planes2 " " #currset))
  530.                          (default planes2)
  531.               )
  532. )
  533.  
  534.  
  535. (set NOPASSTHROUGH (askchoice    (choices #no #yes)
  536.                            (prompt (cat #nopass " " #currset))
  537.                            (help   (cat #nopass " " #currset))
  538.                          (default nopass)
  539.               )
  540. )
  541.  
  542. (set KEEPAMIGAVIDEO (askchoice    (choices #no #yes)
  543.                            (prompt (cat #keepamiga " " #currset))
  544.                            (help   (cat #keepamiga " " #currset))
  545.                          (default keepamiga)
  546.               )
  547. )
  548.  
  549. (set BOOTLOGO     (askchoice    (choices #no #yes)
  550.                            (prompt (cat #bootlogo  " " #currset))
  551.                            (help   (cat #bootlogo  " " #currset))
  552.                          (default bootlogo)
  553.               )
  554. )
  555.  
  556. (set SAVEMEM      (askchoice    (choices #no #yes)
  557.                            (prompt (cat #savemem  " " #currset))
  558.                            (help   (cat #savemem  " " #currset))
  559.                          (default savemem)
  560.               )
  561. )
  562.  
  563. ;***** Set and save Env & Envarc
  564. (if (= cpup2c 0) ( (run "setenv CyberGraphX/CPUP2C 0")  (copyfiles (source "ENV:CyberGraphX/CPUP2C") (dest "ENVARC:CyberGraphX") )  ) )
  565. (if (= cpup2c 1) ( (run "setenv CyberGraphX/CPUP2C 1")  (copyfiles (source "ENV:CyberGraphX/CPUP2C") (dest "ENVARC:CyberGraphX") )  ) )
  566.  
  567. (if (= HIRESCRSR 0) ( (run "setenv CyberGraphX/HIRESCRSR 0") (copyfiles (source "ENV:CyberGraphX/HIRESCRSR") (dest "ENVARC:CyberGraphX") ) ) )
  568. (if (= HIRESCRSR 1) ( (run "setenv CyberGraphX/HIRESCRSR 1") (copyfiles (source "ENV:CyberGraphX/HIRESCRSR") (dest "ENVARC:CyberGraphX") ) ) )
  569.  
  570. (if (= HIDE15BIT 0) ( (run "setenv CyberGraphX/HIDE15BIT 0") (copyfiles (source "ENV:CyberGraphX/HIDE15BIT") (dest "ENVARC:CyberGraphX") ) ) )
  571. (if (= HIDE15BIT 1) ( (run "setenv CyberGraphX/HIDE15BIT 1") (copyfiles (source "ENV:CyberGraphX/HIDE15BIT") (dest "ENVARC:CyberGraphX") ) ) )
  572.  
  573. (if (= ALERTEMU 0) ( (run "setenv CyberGraphX/ALERTEMU 0") (copyfiles (source "ENV:CyberGraphX/ALERTEMU") (dest "ENVARC:CyberGraphX") ) ) )
  574. (if (= ALERTEMU 1) ( (run "setenv CyberGraphX/ALERTEMU 1") (copyfiles (source "ENV:CyberGraphX/ALERTEMU") (dest "ENVARC:CyberGraphX") ) ) )
  575.  
  576. (if (= NOCHIPSCREEN 0) ( (run "setenv CyberGraphX/NOCHIPSCREEN 0") (copyfiles (source "ENV:CyberGraphX/NOCHIPSCREEN") (dest "ENVARC:CyberGraphX") ) ) )
  577. (if (= NOCHIPSCREEN 1) ( (run "setenv CyberGraphX/NOCHIPSCREEN 1") (copyfiles (source "ENV:CyberGraphX/NOCHIPSCREEN") (dest "ENVARC:CyberGraphX") ) ) )
  578.  
  579. (if (= PLANES2FAST 0) ( (run "setenv CyberGraphX/PLANES2FAST 0") (copyfiles (source "ENV:CyberGraphX/PLANES2FAST") (dest "ENVARC:CyberGraphX") ) ) )
  580. (if (= PLANES2FAST 1) ( (run "setenv CyberGraphX/PLANES2FAST 1") (copyfiles (source "ENV:CyberGraphX/PLANES2FAST") (dest "ENVARC:CyberGraphX") ) ) )
  581.  
  582. (if (= NOPASSTHROUGH 0) ( (run "setenv CyberGraphX/NOPASSTHROUGH 0") (copyfiles (source "ENV:CyberGraphX/NOPASSTHROUGH") (dest "ENVARC:CyberGraphX") ) ) )
  583. (if (= NOPASSTHROUGH 1) ( (run "setenv CyberGraphX/NOPASSTHROUGH 1") (copyfiles (source "ENV:CyberGraphX/NOPASSTHROUGH") (dest "ENVARC:CyberGraphX") ) ) )
  584.  
  585. (if (= KEEPAMIGAVIDEO 0) ( (run "setenv CyberGraphX/KEEPAMIGAVIDEO 0") (copyfiles (source "ENV:CyberGraphX/KEEPAMIGAVIDEO") (dest "ENVARC:CyberGraphX") ) ) )
  586. (if (= KEEPAMIGAVIDEO 1) ( (run "setenv CyberGraphX/KEEPAMIGAVIDEO 1") (copyfiles (source "ENV:CyberGraphX/KEEPAMIGAVIDEO") (dest "ENVARC:CyberGraphX") ) ) )
  587.  
  588. (if (= BOOTLOGO 0) ( (run "setenv CyberGraphX/BOOTLOGO 0") (copyfiles (source "ENV:CyberGraphX/BOOTLOGO") (dest "ENVARC:CyberGraphX") ) ) )
  589. (if (= BOOTLOGO 1) ( (run "setenv CyberGraphX/BOOTLOGO 1") (copyfiles (source "ENV:CyberGraphX/BOOTLOGO") (dest "ENVARC:CyberGraphX") ) ) )
  590.  
  591. (if (= SAVEMEM 0) ( (run "setenv CyberGraphX/SAVEMEM 0") (copyfiles (source "ENV:CyberGraphX/SAVEMEM") (dest "ENVARC:CyberGraphX") ) ) )
  592. (if (= SAVEMEM 1) ( (run "setenv CyberGraphX/SAVEMEM 1") (copyfiles (source "ENV:CyberGraphX/SAVEMEM") (dest "ENVARC:CyberGraphX") ) ) )
  593.  
  594.  
  595. ;*********************************************************************************
  596. ; First Time Install START
  597. ;*********************************************************************************
  598. (if (= INST 0)
  599.   (
  600.  
  601. ;*********************************************************************************
  602. ; Ask about CyberGraphX V2
  603. ;*********************************************************************************
  604. (set removeV2  (askchoice (choices #remove1 #remove2 #remove3)
  605.                           (prompt #removeV2)
  606.                           (help   #removeV2)
  607.                           (default 0)
  608.                )
  609.  
  610. (if (= removeV2 0)
  611.  (run (cat "Installer Tools/CyberBackup-UnInstall APPNAME \"CyberBackup-UnInstall\" MINUSER EXPERT DEFUSER EXPERT LOGFILE RAM:CyberBackUp-UnInstall.LOG") ) 
  612. )
  613.  
  614. (if (= removeV2 1)
  615.  (
  616.   (set whereMonitor (askfile (prompt #deletemon)
  617.                              (help #deletemon)
  618.                              (default "Devs:Monitors")
  619.                     )
  620.   ) 
  621.   (message whereMonitor)
  622.   (if (<> "" whereMonitor)  (delete whereMonitor (infos)) )
  623.  )
  624. )
  625.  
  626.  
  627.  
  628. ;*********************************************************************************
  629. ;* Ask user to install what tools
  630. ;*********************************************************************************
  631. (set ToDo (askoptions (choices  #drivers-todo #cgxmode-todo #osiris-todo #virgedemo-todo #cv-todo #cw-todo) 
  632.                       (prompt #todo-prompt)
  633.                       (help #todo-prompt)
  634.                       (default 63)
  635.           )
  636.  
  637. ;*********************************************************************************
  638. ;* If users wants to to install something
  639. ;*********************************************************************************
  640. (if (> ToDo 1)
  641.  (
  642.    (set whereTEMP  (askdir (prompt #destchoice)
  643.                            (help (cat #destchoice "\n" @askdir-help))
  644.                            (default "SYS:")
  645.                    )
  646.    )
  647.  
  648.    (if (< (exists (tackon whereTEMP "CV64-3D")) 2) (makedir (tackon whereTEMP "CV64-3D") (infos)) )
  649.    (set where (tackon whereTEMP "CV64-3D"))
  650.    (set @default-dest where)
  651.  
  652.    (copyfiles (source #CompressCMD)  (dest "t:")) 
  653.  
  654.  )
  655. )
  656.  
  657.  
  658. ;******************************************************************************** 
  659. ; Copy over Drivers
  660. ;********************************************************************************
  661. (if (IN ToDo 0) 
  662.  (  
  663.    (set RegDriver (askoptions
  664.                    (choices " Maxon Cinema 4D" " PhotoWorx" " Photogenics" " Real3D Library" 
  665.                             (cat " ADPro 2.5.0 " #saver) (cat " ADPro 2.5.0 " #window) " ImageFX" " AMax")
  666.                    (prompt #ask-driver)
  667.                    (help   #ask-driver)
  668.                    (default 0)
  669.                   )
  670.    )
  671.  
  672.    (if (IN RegDriver 0)
  673.       (copyfiles (prompt #where-MC4D)
  674.                  (source (tackon #diskname "drivers/cinema4d/cinemaausgabe.library"))
  675.                  (optional) 
  676.                  (dest   (askdir (prompt #where-MC4D)
  677.                                  (help   #where-MC4D)
  678.                                  (default "libs:")
  679.                          )
  680.                  )
  681.                  
  682.       )
  683.    )
  684.  
  685.    (if (IN RegDriver 1)
  686.       (copyfiles (prompt #where-PHOTOW)
  687.                  (source (tackon #diskname "drivers/photoworx/Viewers/CyberGraphX.viewer"))
  688.                  (optional) 
  689.                  (dest   (askdir (prompt #where-PHOTOW)
  690.                                  (help   #where-PHOTOW)
  691.                                  (default "Work:")
  692.                          )
  693.                  )
  694.          
  695.       )
  696.    )
  697.  
  698.    (if (IN RegDriver 2)
  699.       (copyfiles (prompt #where-PHOTOG)
  700.                  (source (tackon #diskname "drivers/photogenics/data/GIO/CyberGraphX.gio"))
  701.                  (optional) 
  702.                  (newname "CyBERgraphics.gio")
  703.                  (dest   (askdir (prompt #where-PHOTOG)
  704.                                  (help   #where-PHOTOG)
  705.                                  (default "Work:")
  706.                          )
  707.                  )
  708.          
  709.       )
  710.    )
  711.    
  712.    (if (IN RegDriver 3)
  713.       (copyfiles (prompt #where-REAL)
  714.                  (source (tackon #diskname "drivers/real3d/cybergfx_r3d.library"))
  715.                  (optional) 
  716.                  (dest   (askdir (prompt #where-REAL)
  717.                                  (help   #where-REAL)
  718.                                  (default "libs:")
  719.                          )
  720.                  )
  721.       )
  722.    )
  723.  
  724.    (if (IN RegDriver 4)
  725.       (copyfiles (prompt #where-ADPRO)
  726.                  (source (tackon #diskname "drivers/adpro/Savers2/CyberGraphX"))
  727.                  (optional)
  728.                  (dest   (askdir (prompt #where-ADPRO)
  729.                                  (help   #where-ADPRO)
  730.                                  (default "ADPRO:Savers2")
  731.                          )
  732.                  )
  733.           
  734.       )
  735.    )
  736.  
  737.    (if (IN RegDriver 5)
  738.      ((copyfiles (prompt #where-ADPROw)
  739.                  (source (tackon #diskname "drivers/adpro/display2/Window"))
  740.                  (optional)
  741.                  (dest   (askdir (prompt #where-ADPROw)
  742.                                  (help   #where-ADPROw)
  743.                                  (default "ADPRO:displays2")
  744.                          )
  745.                  )
  746.           
  747.       )
  748.       (message #updatedadprow)
  749.      )
  750.    )
  751.    
  752.    (if (IN RegDriver 6)
  753.     ((if (< cpu 68030) (set IFXVer "CyberGraphX.000") (set IFXVer "CyberGraphX.030")) 
  754.        (copyfiles (prompt #where-IFX)
  755.                   (source (tackon #diskname (cat "drivers/ImageFX/Render/" IFXVer)))
  756.                   (optional) 
  757.                   (dest   (askdir (prompt #where-IFX)
  758.                                   (help   #where-IFX)
  759.                                   (default "ImageFX:Modules/Render")
  760.                           )
  761.                   )
  762.        )
  763.     )
  764.    )
  765.  
  766.    (if (IN RegDriver 7)
  767.       (copyfiles (prompt #where-AMAX)
  768.                  (source (tackon #diskname "drivers/amax/CyberGraphX"))
  769.                  (optional)
  770.                  (dest   (askdir (prompt #where-AMAX)
  771.                                  (help   #where-AMAX)
  772.                                  (default "Work:")
  773.                          )
  774.                  )
  775.           
  776.       )
  777.    )   
  778.  
  779.  )
  780. )
  781.  
  782. ;******************************************************************************** 
  783. ; Copy over CGXMode
  784. ;********************************************************************************
  785. (if (IN ToDo 1) 
  786.   ( 
  787.    (set wheremode (askchoice (choices " SYS:Prefs" (cat " " where) #other)
  788.                              (prompt (cat "\n" #wheremode "\n"))
  789.                              (help   #wheremode)
  790.                              (default 0)
  791.                   )
  792.    ) 
  793.  
  794.    (if (= wheremode 0) (set modedir "SYS:Prefs"))
  795.    (if (= wheremode 1) (set modedir where))
  796.    (if (= wheremode 2)
  797.      (set modedir (askdir (prompt #wheremode)
  798.                           (help (cat #wheremode "\n" @askdir-help))
  799.                           (default "sys:prefs")
  800.                   )
  801.      )
  802.    )
  803.  
  804.    (copyfiles (source (tackon #diskname "prefs/CGXMode"))  (dest modedir) (infos)) 
  805.   )
  806. )
  807.  
  808. ;******************************************************************************** 
  809. ; Copy over Osiris
  810. ;********************************************************************************
  811. (if (IN ToDo 2) 
  812.    (  
  813.     (if (= (exists "Osiris" (noreq)) 0)
  814.       ( (askdisk (prompt #askfordisk2) (help #askfordisk2) (dest #diskname2))
  815.         (set #osirisdiskname (cat #diskname2 ":")) 
  816.       )
  817.       
  818.       (set #osirisdiskname #diskname)
  819.     )    
  820.  
  821.     (if (< (exists (tackon where "Osiris")) 2) (makedir (tackon where "Osiris") (infos)) )
  822.  
  823.     (set whatosiris (askchoice (choices " 68020" " 68020+FPU" " 68040" " 68060")
  824.                                (prompt #whatosiris)
  825.                                (help   #whatosiris)
  826.                                (default 0)
  827.                     )
  828.     ) 
  829.  
  830.     (if (= whatosiris 0) (set wo ".020"))    (if (= whatosiris 1) (set wo ".020fpu"))    
  831.     (if (= whatosiris 2) (set wo ".040"))    (if (= whatosiris 3) (set wo ".060"))    
  832.     (copyfiles (source (tackon #osirisdiskname "Osiris/Osiris.info"))  (dest (tackon where "Osiris")) )     
  833.     (copyfiles (source (cat (tackon #osirisdiskname "Osiris/Osiris") wo))  (dest (tackon where "Osiris")) (newname "Osiris") (infos))     
  834.     
  835.  
  836.     (if (= @language "deutsch") 
  837.       (copyfiles (source (tackon #osirisdiskname "Osiris/Osiris_D.guide"))  (dest (tackon where "Osiris")) (infos)) 
  838.       (copyfiles (source (tackon #osirisdiskname "Osiris/Osiris_E.guide"))  (dest (tackon where "Osiris")) (infos)) 
  839.     )
  840.    )
  841. )
  842.  
  843.  
  844. ;******************************************************************************** 
  845. ; 3D ViRGE demo
  846. ;********************************************************************************
  847. (if (IN ToDo 3) 
  848.    (  
  849.     (if (= (exists "3D-ViRGE" (noreq)) 0)
  850.       ( (askdisk (prompt #askfordisk2) (help #askfordisk2) (dest #diskname2))
  851.         (set #osirisdiskname (cat #diskname2 ":")) 
  852.       )
  853.       
  854.       (set #osirisdiskname #diskname)
  855.     )    
  856.  
  857.     (set #virarchivename (tackon #osirisdiskname #virarchivename))
  858.     (if (< (exists (tackon where "3D-ViRGE")) 2) (makedir (tackon where "3D-ViRGE") (infos)) )
  859.  
  860.     (working #uncompressingbinvir)
  861.     (if (< (exists #untempdirlib) 2) (makedir #untempdirlib) )
  862.     (set undovir ("%s \"-qfw=%s\" x \"%s\"" (cat "t:" #CompressCMD) #untempdirlib #virarchivename)) 
  863.  
  864.     (set error (run undovir))
  865.     (if (= error 0) 
  866.       (
  867.        (foreach #untempdirlib "#?"
  868.          (copyfiles (source (tackon #untempdirlib @each-name)) (dest (tackon where "3D-ViRGE")) (optional "nofail") (infos) ) 
  869.        ) 
  870.        (foreach #untempdirlib "#?" 
  871.          (delete (tackon #untempdirlib @each-name)) 
  872.        )    
  873.        (delete #untempdirlib)      
  874.       )
  875.  
  876.       (message #errorvir)  
  877.     )
  878.    )
  879. )
  880.  
  881.  
  882. ;******************************************************************************** 
  883. ; Copy over CyberView!
  884. ;********************************************************************************
  885. (if (IN ToDo 4) 
  886.  (  
  887.    (if (= (exists "CyberView" (noreq)) 0)
  888.      ( (askdisk (prompt #askfordisk2) (help #askfordisk2) (dest #diskname2))
  889.        (set #cviewdiskname (cat #diskname2 ":")) 
  890.      )
  891.    
  892.      (set #cviewdiskname #diskname)
  893.    ) 
  894.  
  895.    (if (< (exists (tackon where "CyberView")) 2) (makedir (tackon where "CyberView") (infos)) )
  896.    (copyfiles (source (tackon #cviewdiskname "CyberView"))  (dest (tackon where "CyberView")) (all) (infos) (optional "nofail")) 
  897.  )
  898. )
  899.  
  900.  
  901. ;******************************************************************************** 
  902. ; Copy over CyberWindow!
  903. ;********************************************************************************
  904. (if (IN ToDo 5) 
  905.  (  
  906.    (if (= (exists "CyberWindow" (noreq)) 0)
  907.      ( (askdisk (prompt #askfordisk2) (help #askfordisk2) (dest #diskname2))
  908.        (set #cwiewdiskname (cat #diskname2 ":")) 
  909.      )
  910.    
  911.      (set #cwiewdiskname #diskname)
  912.    ) 
  913.  
  914.    (if (< (exists (tackon where "CyberWindow")) 2) (makedir (tackon where "CyberWindow") (infos)) )
  915.    (copyfiles (source (tackon #cwiewdiskname "CyberWindow"))  (dest (tackon where "CyberWindow")) (all) (infos) (optional "nofail")) 
  916.  )
  917. )
  918.  
  919. ;******************************************************************************** 
  920. ; NOTE on jpeg DT stuff
  921. ;********************************************************************************
  922. (if (OR (IN ToDo 4) (IN ToDo 5))
  923.  (message #jpegDTnote)
  924. )
  925.  
  926. ;*********************************************************************************
  927. ; First Time Install END
  928. ;*********************************************************************************
  929.   )
  930.  
  931.  
  932. ;******************************************************************************** 
  933. ; Ask user to reboot
  934. ;********************************************************************************
  935. (user 2)
  936.  
  937. ;*** CLeanup
  938. (delete (tackon "t:" #CompressCMD)) 
  939.  
  940. (if (> (exists ("c:multiview")) 0) (set #mpath "c:") )
  941. (if (> (exists ("sys:Utilities/multiview")) 0) (set #mpath "sys:Utilities") )
  942.  
  943. (if (= @language "deutsch")  (set fileread "Wichtig!")   (set fileread "Important!")  )
  944.  
  945. (if (> (exists fileread (noreq)) 0)
  946.  (run (cat "run " #mpath "/multiview " fileread) )
  947. )
  948.  
  949. (set reboot  (askbool
  950.                (choices #YES-REBOOT #NO-REBOOT)
  951.                (prompt  (if (= INST 0) (#reboot) (#reboot-def)) )
  952.                (help   #reboot-prompt)
  953.              )
  954. )
  955.  
  956. (if (= reboot 1)  (run "Reboot") )
  957. (exit #byebye)
  958.